]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm: fix sensitivity of auth prompt when cancelling early and user list is disabled
authorRay Strode <rstrode@redhat.com>
Tue, 7 Oct 2014 18:30:34 +0000 (14:30 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 17 Nov 2014 17:11:03 +0000 (12:11 -0500)
commit5961f162fa773a5ffa7b99f43eef66affdaf723a
treead59727e3e68baf5e69dbdc911a1b5a8415648da
parent5d440fa8d976cb8ab10c13ff304470292eac9378
gdm: fix sensitivity of auth prompt when cancelling early and user list is disabled

If the user list is disabled and the user clicks cancel quickly enough
after typing their username, they can get in a state where the
auth prompt gets stuck in the insensitive state.

This is because the login dialog code makes the prompt insensitive
while while pam is processing the provided username, but the prompt
only makes itself sensitive again when it is hidden.

This commit makes it sensitive right before asking for a username again.

https://bugzilla.gnome.org/show_bug.cgi?id=740141
js/gdm/loginDialog.js